package com.woniu.feign;

import com.woniu.cinema.domain.HallMovie;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 杨光 微信号:tolryg
 * @time 14:36
 */
@FeignClient(value = "cinema-service")
public interface CinemaFeignClient {

    @RequestMapping("/cinema/seat/feign/batchUpdateSeatStatus")
    Integer batchUpdateSeatStatus(@RequestParam("seatIdList") List<Long> seatIdList);

    @RequestMapping("/cinema/seat/feign/batchRevertSeatStatus")
    Integer batchRevertSeatStatus(@RequestParam("seatIdList") List<Long> seatIdList);
    @RequestMapping(value = "/cinema/hallmovie/feign/queryHallMovieById")
    HallMovie queryHallMovieById4Feign(@RequestParam("hallMovieId") Integer hallMovieId);


}
